<template>
  <div>test</div>
</template>

<script>
import qs from "qs";
export default {
  //生命周期函数
  created() {
    //组件加载初始化
    this.getList();
  },
  methods: {
    getList() {
      var bodyData = qs.parse(qs.stringify(this.formData));
      console.log("bodyData", bodyData);
      this.$axios.post("/uni/xtgl/menu?age=18", bodyData).then((res) => {
        console.log("res", res);
        //this.pageData = res.data.result;
      });
    },
  },

  data() {
    return {
      formData: {
        opr: "insert",
        menu: {
          ps_id: 100,
          ps_name: "菜单名称",
        },
      },
    };
  },
};
</script>
<style>
.mt-10 {
  margin-top: 10px;
}

.el-tooltip__popper {
  max-width: 180px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
</style>
